SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{dcb7c9903b32e1ee7034f7a95e7659ffbcc51a80a089334a776bbb633c4cd23a}Beulich{dcb7c9903b32e1ee7034f7a95e7659ffbcc51a80a089334a776bbb633c4cd23a}' OR prCity = 'Beulich' OR prZip = 'Beulich' OR prStreet LIKE '{dcb7c9903b32e1ee7034f7a95e7659ffbcc51a80a089334a776bbb633c4cd23a}Beulich{dcb7c9903b32e1ee7034f7a95e7659ffbcc51a80a089334a776bbb633c4cd23a}' OR prCountry = 'Beulich') AND (prLocation LIKE '{dcb7c9903b32e1ee7034f7a95e7659ffbcc51a80a089334a776bbb633c4cd23a}Germany{dcb7c9903b32e1ee7034f7a95e7659ffbcc51a80a089334a776bbb633c4cd23a}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{dcb7c9903b32e1ee7034f7a95e7659ffbcc51a80a089334a776bbb633c4cd23a}Germany{dcb7c9903b32e1ee7034f7a95e7659ffbcc51a80a089334a776bbb633c4cd23a}' OR prCountry = 'Germany')